<div class="container" ng-controller="MakeorderCtrl">
	<header data-am-widget="header" class="am-header am-header-default my-header">
		<div class="am-header-left am-header-nav">
			<a href="#/home" class="">
				<i class="am-header-icon am-icon-chevron-left"></i>
			</a>
		</div>
		<h1 class="am-header-title">
        <a href="#title-link" class="">生成订单</a></h1>
	</header>

	<div class="gray-panel">
		<div class="paoduct-title-panel">
			<h2 class="checkout-h2"></h2>
			<div class="cart-list-panel">
				<ul class="am-avg-sm-1 cart-panel-ul" ng-repeat="mo in cps2">
					<li style="height: 220px;">
						<div class="infopanel" style="align-content: center; width: ;">
							<h4>产品类型：{{mo.attributes.p_id.attributes.name}}</h4>
							<p>价格：{{mo.attributes.price}}</p>
							<p>剩余：{{mo.attributes.snum}}</p>
							<p>数量:

								<input id="inputUsername" ng-model="mo.onum" type="number" class="am-form-field  my-radius">

							</p>
							<p>折扣：<input id="inputUsername" ng-model="mo.discount" type="number" class="am-form-field  my-radius">
							</p>
						</div>
					</li>
				</ul>
			</div>
			<div class="cart-tool" >
				<a class="am-btn am-btn-sm am-btn-success am-radius" style="color: white;">
					 <div id="saveorder">确认订单</div>
				</a>
			</div>
		</div>
	</div>

	<footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{  }">
		<hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
		<div class="am-footer-miscs ">
			<p>CopyRight©2014 AllMobilize Inc.</p>
			<p>软件二班 张朝辉</p>
		</div>
	</footer>
	<!--底部-->
	<div data-am-widget="navbar" class="am-navbar am-cf my-nav-footer " id="">
		<ul class="am-navbar-nav am-cf am-avg-sm-4 my-footer-ul">
			<li>
				<a href="#/home" class="">
					<span class="am-icon-home"></span>
					<span class="am-navbar-label">首页</span>
				</a>
			</li>
			<li>
				<a href="#/shopmap" class="">
					<span class=" am-icon-map-marker"></span>
					<span class="am-navbar-label">地图</span>
				</a>
			</li>
			<li>
				<a href="#/information" class="">
					<span class="am-icon-user"></span>
					<span class="am-navbar-label">用户</span>
				</a>
			</li>
		</ul>
	</div>
</div>